package vip.liux.backend.infrastructure.message;

public interface MessageRecordRepository {

    void createNewMessageRecord(MessageRecord messageRecord);

    void updateMessageRecord(String messageId, MessageRecord.MessageStatus status, String errorMessage);

    void retryMessageRecord(String messageId, int retryCount, String errorMessage);

    MessageRecord getMessageRecord(String messageId);
}
